import redis

client = redis.Redis(host='127.0.0.1', port=6379, password='qupingce2018.')
client.set('username', 'admin')
name = client.get('username')
print('admin')
